package com.disdr;

import com.alibaba.fastjson2.JSONObject;
import com.disdr.utils.DateUtils;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.*;

public class Disdr {


    public static void main(String[] args) throws IllegalAccessException, NoSuchFieldException {

        testJson(1746367040);
        testJson(1746369571);
        testJson(1746369715);
        testJson(1746421951);
        testJson(1746412800);
        testJson(1746376517);
        testJson(1746402235);
        testJson(1746369949);
        testJson(1746377174);
    }

    public static void testJson(int time){
        long timeMillis = time*1000L;
        Date date = new Date(timeMillis);
        System.out.println(DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss",date));
    }

}
